Efficient Implementation of XQuery Constructor Expressions
نویسندگان
چکیده
Element constructor is one of most expensive operations of the XQuery language as it requires deep copy of the nodes which make up the content of the constructed element. In this paper we propose various optimization and implementation techniques to avoid copying of the nodes during constructor evaluation. The proposed techniques are based on using special kind of XQuery constructors with modified semantics which evaluation does not require content node copying. We also provide optimization rules which replace standard constructors with modified ones without changing query result. The proposed techniques are designed to minimize modifications of an existing implementation. Possible technique extensions which might depend on implementationspecific features are also considered. We present results from experimental study of the techniques which demonstrate performance improvement of constructor evaluation.
منابع مشابه
Cardinality-aware and purely relational implementation of an XQuery processor
With the rapid growth in the use of XML documents as a universal format for storage and interchange of the data on the Web, several efforts have been made in order to develop efficient techniques for storing and querying XML data. Since XQuery is becoming the standard XML query language, significant effort has been made in developing efficient implementations of XQuery query processor. This the...
متن کاملOn Efficient Evaluation of XML Queries
Recently, the use of XML continues to grow in popularity, large repositories of XML documents are going to emerge, and users are likely to pose increasingly more complex queries on these data sets. In 2001 XQuery is decided by the World Wide Web Consortium (W3C) as the standard XML query language. In this article, we describe the design and implementation of an efficient and scalable purely rel...
متن کاملPathfinder: XQuery compilation techniques for relational database targets
Relational database systems are highly efficient hosts to table-shaped data. It is all the more interesting to see how a careful inspection of both, the XML tree structure as well as the W3C XQuery language definition, can turn relational databases into fast and scalable XML processors. This work shows how the deliberate choice of a relational tree encoding makes the XML data model—ordered, unr...
متن کاملFrom Tree Patterns to Generalized Tree Patterns: On Efficient Evaluation of XQuery
XQuery is the de facto standard XML query language, and it is important to have efficient query evaluation techniques available for it. A core operation in the evaluation of XQuery is the finding of matches for specified tree patterns, and there has been much work towards algorithms for finding such matches efficiently. Multiple XPath expressions can be evaluated by computing one or more tree p...
متن کاملA Practitioner's Approach to Normalizing XQuery Expressions
XQuery becomes a standard of the XML query language. Just like in SQL, XQuery allows nested expressions. To optimize XQuery processing, a lot of research has been done on normalization, i.e., transforming nested expressions to equivalent unnested ones. Previous normalization rules are classified into two categories source-level and algebra-level depending on whether a construct is specified by ...
متن کامل